package com.zm.repositories.mongo;

import com.zm.bean.HeartBeatBean;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CabHeartBeatDataRepository extends MongoRepository<HeartBeatBean, ObjectId> {

    List<HeartBeatBean> findAllByCabinet(String cid);

}
